package Practice03;

public class Tree {
    private int ages;
    public Tree(int ages){
        this.ages = ages;
    }

    public int age(){
        return this.ages;
    }
    public void grow(int year){
        ages+=year;
    }

}
